// 注册全局组件：

// vue.use()相当于在一个对象中用install()方法注册组件或者挂载原型

import headTool from './headTool/index.vue'
import upLoadExcel from '@/components/uploadExcel'
import ImageUpload from '@/components/ImageUpload'
import screenFull from '@/components/ScreenFull'
import ThemePicker from './ThemePicker'
import lang from './lang'
import TagsView from './TagsView'

export default {
  install (Vue) {
    // 注册组件
    Vue.component('headTool', headTool)
    Vue.component('upLoadExcel', upLoadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('screenFull', screenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('lang', lang)
    Vue.component('TagsView', TagsView)
  }
}
